package com.zx.map.dao.model;

import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import java.util.Date;

public class UserCount {
	private String userId;

	private BigDecimal sumAmt;

	private Integer countNum;

	private String pic;

	private String name;

	private Date lastTime;

	private String lastTimeString;

	public String getLastTimeString() {
		SimpleDateFormat formatter = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss");
		this.lastTimeString = formatter.format(this.lastTime);
		return lastTimeString;
	}

	public void setLastTimeString(String lastTimeString) {
		this.lastTimeString = lastTimeString;
	}

	private String shopId;

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId == null ? null : userId.trim();
	}


	public BigDecimal getSumAmt() {
		return sumAmt;
	}

	public void setSumAmt(BigDecimal sumAmt) {
		this.sumAmt = sumAmt;
	}

	public Integer getCountNum() {
		return countNum;
	}

	public void setCountNum(Integer countNum) {
		this.countNum = countNum;
	}

	public String getPic() {
		return pic;
	}

	public void setPic(String pic) {
		this.pic = pic == null ? null : pic.trim();
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name == null ? null : name.trim();
	}

	public Date getLastTime() {
		return lastTime;
	}

	public void setLastTime(Date lastTime) {
		this.lastTime = lastTime;
	}

	public String getShopId() {
		return shopId;
	}

	public void setShopId(String shopId) {
		this.shopId = shopId == null ? null : shopId.trim();
	}
}